-- USER_MAX_LIFE

-- 计算玩家最大体力值
return function(user)
    local level = user.dbase:query("level", 0);
    local max_life = UserM.queryWorldTree(level, "life_limit");
    local radish = user.dbase:query("radish", 0);
    return max_life + radish;
end
